package com.yf.repo.modules.repo.dto;

import com.yf.base.api.annon.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
* <p>
* 题库请求类
* </p>
*
* @author 聪明笨狗
* @since 2020-05-25 13:23
*/
@Data
@ApiModel(value="题库", description="题库")
public class RepoDTO implements Serializable {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "题库ID", required=true)
    private String id;

    @ApiModelProperty(value = "题库编号", required=true)
    private String code;

    @Dict(dicCode = "repo_catalog")
    @ApiModelProperty(value = "分类ID")
    private String catId;
    private String catId_dictText;

    @ApiModelProperty(value = "题库名称", required=true)
    private String title;

    @ApiModelProperty(value = "题库备注", required=true)
    private String remark;

    @Dict(dicCode = "open_type")
    @ApiModelProperty(value = "1公开2部门3定员", required=true)
    private Integer openType;
    private String openType_dictText;

    @ApiModelProperty(value = "可训练", required=true)
    private Boolean isTrain;

    @ApiModelProperty(value = "可考试", required=true)
    private Boolean isExam;

    @ApiModelProperty(value = "部门编码")
    private String deptCode;

    @ApiModelProperty(value = "价格")
    private BigDecimal price;

    @ApiModelProperty(value = "创建时间", required=true)
    private Date createTime;

    @ApiModelProperty(value = "更新时间", required=true)
    private Date updateTime;

    @ApiModelProperty(value = "创建人", required=true)
    private String createBy;

    @ApiModelProperty(value = "修改人", required=true)
    private String updateBy;

    @ApiModelProperty(value = "数据标识", required=true)
    private Integer dataFlag;


}
